home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 49 / Amiga Format CD49 (2000-01-17)(Future Publishing)(GB)(Track 1 of 3)[!][issue 2000-02].iso / -serious- / graphics / gnuplot / gnuplot-3.7.1doc / demo / scatter.dem < prev    next >
Text File  |  1999-11-29  |  1KB  |  60 lines

  1. #
  2. # Simple demo to scatter data conversion to grid data.
  3. #
  4.  
  5. set title "Simple demo to scatter data conversion to grid data"
  6. set nohidden3d
  7. set ticslevel 0.5
  8. set view 60,30
  9. set autoscale
  10. set parametric
  11. set data style points
  12. set xlabel "data style point - no dgrid"
  13. set key box
  14. splot "hemisphr.dat"
  15. pause -1 "Hit return to continue (1)"
  16.  
  17. set dgrid3d 10,10,1
  18. set xlabel " data style lines, dgrid3d 10,10,1"
  19. set data style lines
  20. splot "hemisphr.dat"
  21. pause -1 "Hit return to continue (2)"
  22.  
  23. set dgrid3d ,,4
  24. set xlabel " data style lines, dgrid3d ,,4 "
  25. set data style lines
  26. splot "hemisphr.dat"
  27. pause -1 "Hit return to continue (3)"
  28.  
  29. set dgrid3d ,,16
  30. set xlabel " data style lines, dgrid3d ,,16"
  31. set data style lines
  32. splot "hemisphr.dat"
  33. pause -1 "Hit return to continue (4)"
  34.  
  35. set contour
  36. set xlabel "data style lines, dgrid3d ,,16, contour"
  37. splot "hemisphr.dat"
  38. pause -1 "Hit return to continue (5)"
  39.  
  40. set nodgrid3d
  41. set data style points
  42. set xlabel "data style points, nodgrid3d"
  43. splot "scatter2.dat"
  44. pause -1 "Hit return to continue (6)"
  45.  
  46. set key nobox
  47. set dgrid3d ,,1
  48. set xlabel "data style lines, dgrid3d ,,1"
  49. set data style lines
  50. splot "scatter2.dat"
  51. pause -1 "Hit return to continue (7)"
  52.  
  53. set dgrid3d ,,4
  54. set xlabel "data style lines, dgrid3d ,,4"
  55. set data style lines
  56. splot "scatter2.dat"
  57. pause -1 "Hit return to continue (8)"
  58. reset
  59.  
  60.